import { request, post, get } from "@/utils/request";
import axios from 'axios'

class MarketingModelApi {
  /**
  * @description: 新增营销模型
  * @param {*}
  * @return {*}
  */
  addMarketingModel(data) {
    let url = `/flow/marketingJourneyInfoEntity/saveOrUpdate`
    return request(url, data)
  }

  /**
  * @description: 营销模型详情
  * @param {*}
  * @return {*}
  */
   getMarketingModelDetail(data) {
    let url = `/flow/marketingJourneyInfoEntity/getInfo`
    return request(url, data)
  }

  /**
  * @description: 删除营销模型
  * @param {*}
  * @return {*}
  */
   delMarketingModel(data) {
    let url = `/flow/marketingJourneyInfoEntity/del`
    return request(url, data)
  }

  /**
  * @description: 修改营销模型状态
  * @param {*}
  * @return {*}
  */
   setStatus(data) {
    let url = `/flow/marketingJourneyInfoEntity/updateStatus`
    return request(url, data)
  }

  


  
}
export default new MarketingModelApi()